<?xml version="1.0"?>
<component name="org.nuxeo.coldstorage.events.contrib.override">

  <require>org.nuxeo.coldstorage.events.contrib</require>

  <extension point="notifications" target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService">
    <notification availableIn="*" channel="email" label="label.document.download" name="ColdStorageContentAvailable" subject="Archive content available on '${docTitle}'" template="coldStorageContentAvailable">
      <event name="coldStorageContentAvailable"/>
    </notification>
    <notification availableIn="*" channel="email" label="label.document.download" name="ColdStorageContentRestored" subject="Main content '${docTitle}' restored" template="coldStorageContentRestored">
      <event name="coldStorageContentRestored"/>
    </notification>
  </extension>

</component>
